package com.mvc.model.healthmanager.archive;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import com.mvc.model.base.IdEntity;
@Entity
@Table(name="yh_apparatus")
@DynamicInsert(true)
@DynamicUpdate(true)
public class Apparatus extends IdEntity implements Serializable{
	
	private static final long serialVersionUID = -5386528738781631253L; 

	/**
	 * 器械信息
	 */
	     private String name;//器械全称
	     private String number;//设备编号
	     private String companyName;//器械所属公司
		 private String effect;//用途 
		 private String state ;// 状态  0 是备用  1是正在使用
		 private String issuingUnit;//发放单位 
		 private String receiver;  //接管人
		 private String receiverCode;//接管人代码
		 private Date createTime;//创建时间
	     private String updateTime;//更改时间
	 	private String macNo;//电脑MAC地址
	     public Apparatus() {
			super();
		 }

		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getNumber() {
			return number;
		}
		public void setNumber(String number) {
			this.number = number;
		}
		public String getCompanyName() {
			return companyName;
		}
		public void setCompanyName(String companyName) {
			this.companyName = companyName;
		}
	
		public String getEffect() {
			return effect;
		}
		public void setEffect(String effect) {
			this.effect = effect;
		}
		public String getState() {
			return state;
		}
		public void setState(String state) {
			this.state = state;
		}
		public String getIssuingUnit() {
			return issuingUnit;
		}
		public void setIssuingUnit(String issuingUnit) {
			this.issuingUnit = issuingUnit;
		}
		public String getReceiver() {
			return receiver;
		}
		public void setReceiver(String receiver) {
			this.receiver = receiver;
		}

		public Date getCreateTime() {
			return createTime;
		}

		public void setCreateTime(Date createTime) {
			this.createTime = createTime;
		}

		public String getUpdateTime() {
			return updateTime;
		}

		public void setUpdateTime(String updateTime) {
			this.updateTime = updateTime;
		}

		public String getReceiverCode() {
			return receiverCode;
		}

		public void setReceiverCode(String receiverCode) {
			this.receiverCode = receiverCode;
		}

		public String getMacNo() {
			return macNo;
		}

		public void setMacNo(String macNo) {
			this.macNo = macNo;
		}
		
}
